package org.darkforest.dao.mapper;

import org.darkforest.dao.annotation.DBMapper;
import org.darkforest.model.Transport;
import org.darkforest.model.TransportExtend;
import org.darkforest.model.TransportPageBean;
import org.darkforest.model.TransportVo;

import java.util.List;
import java.util.Map;

@DBMapper
public interface TransportMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Transport record);

    int insertSelective(Transport record);

    Transport selectByPrimaryKey(Integer id);

    TransportVo selectTransportVoByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Transport record);

    int updateByPrimaryKey(Transport record);

    List selectListByCondition(TransportPageBean page);

    List<TransportVo> selectStoreShipModel(Map<String, Object> map);
}